<?php

class Post extends AppModel {

    var $useTable = 'post'; // nome della tabella

    public $actsAs = array('Lang');

	public $hasMany = array(
	        'PostLang' => array(
				'className' =>'PostLang' 
				,'foreignKey' =>'reference_id'
				)
		);

}

?>